package net.wanho.study.dao;

import net.wanho.study.entity.Dept;
import net.wanho.study.entity.Emp;

import java.util.List;

/**
 * Author：汤小洋
 * Date：2024-08-07 16:51
 * Description：<描述>
 */
public interface EmpDao {

    void insertEmp(Emp emp);

    List<Emp> selectAll();

    Emp selectById(int id);

    Emp selectByName(String name);
}
